<?php

class cart_m_cart extends a_base_model_datamapper {

    public function __construct($id=null) {
        $this->table = 'carts';
        $this->has_many = array(
        );
        $this->has_one = array(
        );

        $this->has_many['item_m_cart'] = array(
            'class' => 'item_m_cart',
            'join_other_as' => 'item',
            'join_self_as' => 'cart'
        );
        parent::__construct($id);
    }
}
?>